home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / gui / mui / mui14-dv.lha / MUI / Developer / C / Include / libraries / mui.h
Encoding:
C/C++ Source or Header  |  1993-10-28  |  59.3 KB  |  1,563 lines

  1. /***************************************************************************
  2. **
  3. ** MUI - MagicUserInterface
  4. ** (c) 1993 by Stefan Stuntz
  5. **
  6. ** Main Header File
  7. **
  8. ****************************************************************************
  9. ** Class Tree
  10. ****************************************************************************
  11. **
  12. ** rootclass               (BOOPSI's base class)
  13. ** +--Notify               (implements notification mechanism)
  14. **    +--Application       (main class for all applications)
  15. **    +--Window            (handles intuition window related topics)
  16. **    +--Area              (base class for all GUI elements)
  17. **       +--Rectangle      (creates empty rectangles)
  18. **       +--Image          (creates images)
  19. **       +--Text           (creates some text)
  20. **       +--String         (creates a string gadget)
  21. **       +--Prop           (creates a proportional gadget)
  22. **       +--Gauge          (creates a fule gauge)
  23. **       +--Scale          (creates a percentage scale)
  24. **       +--Boopsi         (interface to BOOPSI gadgets)
  25. **       +--Colorfield     (creates a field with changeable color)
  26. **       +--List           (creates a line-oriented list)
  27. **       !  +--Floattext   (special list with floating text)
  28. **       !  +--Volumelist  (special list with volumes)
  29. **       !  +--Scrmodelist (special list with screen modes)
  30. **       !  \--Dirlist     (special list with files)
  31. **       +--Group          (groups other GUI elements)
  32. **          +--Virtgroup   (handles virtual groups)
  33. **          +--Scrollgroup (handles virtual groups with scrollers)
  34. **          +--Scrollbar   (creates a scrollbar)
  35. **          +--Listview    (creates a listview)
  36. **          +--Radio       (creates radio buttons)
  37. **          +--Cycle       (creates cycle gadgets)
  38. **          +--Slider      (creates slider gadgets)
  39. **          +--Coloradjust (creates some RGB sliders)
  40. **          \--Palette     (creates a complete palette gadget)
  41. **
  42. ****************************************************************************
  43. ** General Header File Information
  44. ****************************************************************************
  45. **
  46. ** All macro and structure definitions follow these rules:
  47. **
  48. ** Name                       Meaning
  49. **
  50. ** MUIC_<class>               Name of a class
  51. ** MUIM_<class>_<method>      Method
  52. ** MUIP_<class>_<method>      Methods parameter structure
  53. ** MUIV_<class>_<method>_<x>  Special method value
  54. ** MUIA_<class>_<attrib>      Attribute
  55. ** MUIV_<class>_<attrib>_<x>  Special attribute value
  56. ** MUIE_<error>               Error return code from MUI_Error()
  57. ** MUII_<name>                Standard MUI image
  58. **
  59. ** MUIA_... attribute definitions are followed by a comment
  60. ** consisting of the three possible letters I, S and G.
  61. ** I: it's possible to specify this attribute at object creation time.
  62. ** S: it's possible to change this attribute with SetAttrs().
  63. ** G: it's possible to get this attribute with GetAttr().
  64. */
  65.  
  66.  
  67. #ifndef LIBRARIES_MUI_H
  68. #define LIBRARIES_MUI_H
  69.  
  70. #ifndef EXEC_TYPES_H
  71. #include "exec/types.h"
  72. #endif
  73.  
  74. #ifndef INTUITION_CLASSES_H
  75. #include "intuition/classes.h"
  76. #endif
  77.  
  78. #ifndef INTUITION_SCREENS_H
  79. #include "intuition/screens.h"
  80. #endif
  81.  
  82. #ifndef CLIB_INTUITION_PROTOS_H
  83. #include "clib/intuition_protos.h"
  84. #endif
  85.  
  86.  
  87.  
  88. /***************************************************************************
  89. ** Library specification
  90. ***************************************************************************/
  91.  
  92. #define MUIMASTER_NAME "muimaster.library"
  93. #define MUIMASTER_VMIN 4
  94.  
  95.  
  96.  
  97. /***************************************************************************
  98. ** ARexx Interface
  99. ***************************************************************************/
  100.  
  101. struct MUI_Command
  102. {
  103.     char        *mc_Name;
  104.     char        *mc_Template;
  105.     LONG         mc_Parameters;
  106.     struct Hook *mc_Hook;
  107.     LONG         mc_Reserved[5];
  108. };
  109.  
  110. #define MC_TEMPLATE_ID ((STRPTR)~0)
  111.  
  112.  
  113. /***************************************************************************
  114. ** Return values for MUI_Error()
  115. ***************************************************************************/
  116.  
  117. #define MUIE_OK                  0
  118. #define MUIE_OutOfMemory         1
  119. #define MUIE_OutOfGfxMemory      2
  120. #define MUIE_InvalidWindowObject 3
  121. #define MUIE_MissingLibrary      4
  122. #define MUIE_NoARexx             5
  123. #define MUIE_SingleTask          6
  124.  
  125.  
  126.  
  127. /***************************************************************************
  128. ** Standard MUI Images
  129. ***************************************************************************/
  130.  
  131. #define MUII_WindowBack     0   /* These images are configured   */
  132. #define MUII_RequesterBack  1   /* with the preferences program. */
  133. #define MUII_ButtonBack     2
  134. #define MUII_ListBack       3
  135. #define MUII_TextBack       4
  136. #define MUII_PropBack       5
  137. #define MUII_ActiveBack     6
  138. #define MUII_SelectedBack   7
  139. #define MUII_ListCursor     8
  140. #define MUII_ListSelect     9
  141. #define MUII_ListSelCur    10
  142. #define MUII_ArrowUp       11
  143. #define MUII_ArrowDown     12
  144. #define MUII_ArrowLeft     13
  145. #define MUII_ArrowRight    14
  146. #define MUII_CheckMark     15
  147. #define MUII_RadioButton   16
  148. #define MUII_Cycle         17
  149. #define MUII_PopUp         18
  150. #define MUII_PopFile       19
  151. #define MUII_PopDrawer     20
  152. #define MUII_PropKnob      21
  153. #define MUII_Drawer        22
  154. #define MUII_HardDisk      23
  155. #define MUII_Disk          24
  156. #define MUII_Chip          25
  157. #define MUII_Volume        26
  158. #define MUII_PopUpBack     27
  159. #define MUII_Network       28
  160. #define MUII_Assign        29
  161. #define MUII_TapePlay      30
  162. #define MUII_TapePlayBack  31
  163. #define MUII_TapePause     32
  164. #define MUII_TapeStop      33
  165. #define MUII_TapeRecord    34
  166. #define MUII_VirtualBack   35
  167. #define MUII_Count         36
  168.  
  169. #define MUII_BACKGROUND   128    /* These are direct color    */
  170. #define MUII_SHADOW       129    /* combinations and are not  */
  171. #define MUII_SHINE        130    /* affected by users prefs.  */
  172. #define MUII_FILL         131
  173. #define MUII_SHADOWBACK   132    /* Generally, you should     */
  174. #define MUII_SHADOWFILL   133    /* avoid using them. Better  */
  175. #define MUII_SHADOWSHINE  134    /* use one of the customized */
  176. #define MUII_FILLBACK     135    /* images above.             */
  177. #define MUII_FILLSHINE    136
  178. #define MUII_SHINEBACK    137
  179. #define MUII_FILLBACK2    138
  180. #define MUII_LASTPAT      138
  181.  
  182.  
  183.  
  184. /***************************************************************************
  185. ** Special values for some methods
  186. ***************************************************************************/
  187.  
  188. #define MUIV_TriggerValue 0x49893131
  189. #define MUIV_EveryTime    0x49893131
  190.  
  191. #define MUIV_Application_Save_ENV     ((STRPTR) 0)
  192. #define MUIV_Application_Save_ENVARC  ((STRPTR)~0)
  193. #define MUIV_Application_Load_ENV     ((STRPTR) 0)
  194. #define MUIV_Application_Load_ENVARC  ((STRPTR)~0)
  195.  
  196. #define MUIV_Application_ReturnID_Quit -1
  197.  
  198. #define MUIV_List_Insert_Top         0
  199. #define MUIV_List_Insert_Active     -1
  200. #define MUIV_List_Insert_Sorted     -2
  201. #define MUIV_List_Insert_Bottom     -3
  202.  
  203. #define MUIV_List_Remove_First       0
  204. #define MUIV_List_Remove_Active     -1
  205. #define MUIV_List_Remove_Last       -2
  206.  
  207. #define MUIV_List_Select_Off         0
  208. #define MUIV_List_Select_On          1
  209. #define MUIV_List_Select_Toggle      2
  210. #define MUIV_List_Select_Ask         3
  211.  
  212. #define MUIV_List_Jump_Active       -1
  213. #define MUIV_List_GetEntry_Active   -1
  214. #define MUIV_List_Select_Active     -1
  215.  
  216. #define MUIV_List_Redraw_Active     -1
  217. #define MUIV_List_Redraw_All        -2
  218.  
  219. #define MUIV_List_Exchange_Active   -1
  220.  
  221.  
  222.  
  223. /***************************************************************************
  224. ** Parameter structures for some classes
  225. ***************************************************************************/
  226.  
  227. struct MUI_Palette_Entry
  228. {
  229.     LONG  mpe_ID;
  230.     ULONG mpe_Red;
  231.     ULONG mpe_Green;
  232.     ULONG mpe_Blue;
  233.     LONG  mpe_Group;
  234. };
  235.  
  236. #define MUIV_Palette_Entry_End -1
  237.  
  238.  
  239. struct MUI_Scrmodelist_Entry
  240. {
  241.     char *sme_Name;
  242.     ULONG sme_ModeID;
  243.     char  sme_namebuf[1]; /* private */
  244. };
  245.  
  246.  
  247.  
  248. /***************************************************************************
  249. **
  250. ** Macro Section
  251. ** -------------
  252. **
  253. ** To make GUI creation more easy and understandable, you can use the
  254. ** macros below. If you dont want, just define MUI_NOSHORTCUTS to disable
  255. ** them.
  256. **
  257. ** These macros are available to C programmers only.
  258. **
  259. ***************************************************************************/
  260.  
  261. #ifndef MUI_NOSHORTCUTS
  262.  
  263.  
  264.  
  265. /***************************************************************************
  266. **
  267. ** Object Generation
  268. ** -----------------
  269. **
  270. ** The xxxObject (and xChilds) macros generate new instances of MUI classes.
  271. ** Every xxxObject can be followed by tagitems specifying initial create
  272. ** time attributes for the new object and must be terminated with the
  273. ** End macro:
  274. **
  275. ** obj = StringObject,
  276. **          MUIA_String_Contents, "foo",
  277. **          MUIA_String_MaxLen  , 40,
  278. **          End;
  279. **
  280. ** With the Child, SubWindow and WindowContents shortcuts you can
  281. ** construct a complete GUI within one command:
  282. **
  283. ** app = ApplicationObject,
  284. **
  285. **          ...
  286. **
  287. **          SubWindow, WindowObject,
  288. **             WindowContents, VGroup,
  289. **                Child, String("foo",40),
  290. **                Child, String("bar",50),
  291. **                Child, HGroup,
  292. **                   Child, CheckMark(TRUE),
  293. **                   Child, CheckMark(FALSE),
  294. **                   End,
  295. **                End,
  296. **             End,
  297. **
  298. **          SubWindow, WindowObject,
  299. **             WindowContents, HGroup,
  300. **                Child, ...,
  301. **                Child, ...,
  302. **                End,
  303. **             End,
  304. **
  305. **          ...
  306. **
  307. **          End;
  308. **
  309. ***************************************************************************/
  310.  
  311. #define WindowObject      MUI_NewObject(MUIC_Window
  312. #define ImageObject       MUI_NewObject(MUIC_Image
  313. #define NotifyObject      MUI_NewObject(MUIC_Notify
  314. #define ApplicationObject MUI_NewObject(MUIC_Application
  315. #define TextObject        MUI_NewObject(MUIC_Text
  316. #define RectangleObject   MUI_NewObject(MUIC_Rectangle
  317. #define ListObject        MUI_NewObject(MUIC_List
  318. #define PropObject        MUI_NewObject(MUIC_Prop
  319. #define StringObject      MUI_NewObject(MUIC_String
  320. #define ScrollbarObject   MUI_NewObject(MUIC_Scrollbar
  321. #define ListviewObject    MUI_NewObject(MUIC_Listview
  322. #define RadioObject       MUI_NewObject(MUIC_Radio
  323. #define VolumelistObject  MUI_NewObject(MUIC_Volumelist
  324. #define FloattextObject   MUI_NewObject(MUIC_Floattext
  325. #define DirlistObject     MUI_NewObject(MUIC_Dirlist
  326. #define SliderObject      MUI_NewObject(MUIC_Slider
  327. #define CycleObject       MUI_NewObject(MUIC_Cycle
  328. #define GaugeObject       MUI_NewObject(MUIC_Gauge
  329. #define ScaleObject       MUI_NewObject(MUIC_Scale
  330. #define BoopsiObject      MUI_NewObject(MUIC_Boopsi
  331. #define ColorfieldObject  MUI_NewObject(MUIC_Colorfield
  332. #define ColoradjustObject MUI_NewObject(MUIC_Coloradjust
  333. #define PaletteObject     MUI_NewObject(MUIC_Palette
  334. #define GroupObject       MUI_NewObject(MUIC_Group
  335. #define VirtgroupObject   MUI_NewObject(MUIC_Virtgroup
  336. #define ScrollgroupObject MUI_NewObject(MUIC_Scrollgroup
  337. #define ScrmodelistObject MUI_NewObject(MUIC_Scrmodelist
  338. #define VGroup            MUI_NewObject(MUIC_Group
  339. #define HGroup            MUI_NewObject(MUIC_Group,MUIA_Group_Horiz,TRUE
  340. #define ColGroup(cols)    MUI_NewObject(MUIC_Group,MUIA_Group_Columns,(cols)
  341. #define RowGroup(rows)    MUI_NewObject(MUIC_Group,MUIA_Group_Rows   ,(rows)
  342. #define PageGroup         MUI_NewObject(MUIC_Group,MUIA_Group_PageMode,TRUE
  343. #define VGroupV           MUI_NewObject(MUIC_Virtgroup
  344. #define HGroupV           MUI_NewObject(MUIC_Virtgroup,MUIA_Group_Horiz,TRUE
  345. #define ColGroupV(cols)   MUI_NewObject(MUIC_Virtgroup,MUIA_Group_Columns,(cols)
  346. #define RowGroupV(rows)   MUI_NewObject(MUIC_Virtgroup,MUIA_Group_Rows   ,(rows)
  347. #define PageGroupV        MUI_NewObject(MUIC_Virtgroup,MUIA_Group_PageMode,TRUE
  348. #define End               TAG_DONE)
  349.  
  350. #define Child             MUIA_Group_Child
  351. #define SubWindow         MUIA_Application_Window
  352. #define WindowContents    MUIA_Window_RootObject
  353.  
  354.  
  355.  
  356. /***************************************************************************
  357. **
  358. ** Frame Types
  359. ** -----------
  360. **
  361. ** These macros may be used to specify one of MUI's different frame types.
  362. ** Note that every macro consists of one or more { ti_Tag, ti_Data }
  363. ** pairs.
  364. **
  365. ** GroupFrameT() is a special kind of frame that contains a centered
  366. ** title text.
  367. **
  368. ** HGroup, GroupFrameT("Horiz Groups"),
  369. **    Child, RectangleObject, TextFrame  , End,
  370. **    Child, RectangleObject, StringFrame, End,
  371. **    Child, RectangleObject, ButtonFrame, End,
  372. **    Child, RectangleObject, ListFrame  , End,
  373. **    End,
  374. **
  375. ***************************************************************************/
  376.  
  377. #define NoFrame          MUIA_Frame, MUIV_Frame_None
  378. #define ButtonFrame      MUIA_Frame, MUIV_Frame_Button
  379. #define ImageButtonFrame MUIA_Frame, MUIV_Frame_ImageButton
  380. #define TextFrame        MUIA_Frame, MUIV_Frame_Text
  381. #define StringFrame      MUIA_Frame, MUIV_Frame_String
  382. #define ReadListFrame    MUIA_Frame, MUIV_Frame_ReadList
  383. #define InputListFrame   MUIA_Frame, MUIV_Frame_InputList
  384. #define PropFrame        MUIA_Frame, MUIV_Frame_Prop
  385. #define GaugeFrame       MUIA_Frame, MUIV_Frame_Gauge
  386. #define VirtualFrame     MUIA_Frame, MUIV_Frame_Virtual
  387. #define GroupFrame       MUIA_Frame, MUIV_Frame_Group
  388. #define GroupFrameT(s)   MUIA_Frame, MUIV_Frame_Group, MUIA_FrameTitle, s
  389.  
  390.  
  391.  
  392. /***************************************************************************
  393. **
  394. ** Spacing Macros
  395. ** --------------
  396. **
  397. ***************************************************************************/
  398.  
  399. #define HVSpace           MUI_NewObject(MUIC_Rectangle,TAG_DONE)
  400. #define HSpace(x)         MUI_NewObject(MUIC_Rectangle,(x) ? MUIA_FixWidth  : TAG_IGNORE,(x), MUIA_VertWeight , 0, TAG_DONE)
  401. #define VSpace(x)         MUI_NewObject(MUIC_Rectangle,(x) ? MUIA_FixHeight : TAG_IGNORE,(x), MUIA_HorizWeight, 0, TAG_DONE)
  402. #define HCenter(obj)      (HGroup, GroupSpacing(0), Child, HSpace(0), Child, (obj), Child, HSpace(0), End)
  403. #define VCenter(obj)      (VGroup, GroupSpacing(0), Child, VSpace(0), Child, (obj), Child, VSpace(0), End)
  404. #define InnerSpacing(h,v) MUIA_InnerLeft,(h),MUIA_InnerRight,(h),MUIA_InnerTop,(v),MUIA_InnerBottom,(v)
  405. #define GroupSpacing(x)   MUIA_Group_Spacing,x
  406.  
  407.  
  408.  
  409. /***************************************************************************
  410. **
  411. ** String-Object
  412. ** -------------
  413. **
  414. ** The following macro creates a simple string gadget.
  415. **
  416. ***************************************************************************/
  417.  
  418. #define String(contents,maxlen)\
  419.     StringObject,\
  420.         StringFrame,\
  421.         MUIA_String_MaxLen  , maxlen,\
  422.         MUIA_String_Contents, contents,\
  423.         End
  424.  
  425. #define KeyString(contents,maxlen,controlchar)\
  426.     StringObject,\
  427.         StringFrame,\
  428.         MUIA_ControlChar    , controlchar,\
  429.         MUIA_String_MaxLen  , maxlen,\
  430.         MUIA_String_Contents, contents,\
  431.         End
  432.  
  433.  
  434.  
  435. /***************************************************************************
  436. **
  437. ** CheckMark-Object
  438. ** ----------------
  439. **
  440. ** The following macro creates a checkmark gadget.
  441. **
  442. ***************************************************************************/
  443.  
  444. #define CheckMark(selected)\
  445.     ImageObject,\
  446.         ImageButtonFrame,\
  447.         MUIA_InputMode        , MUIV_InputMode_Toggle,\
  448.         MUIA_Image_Spec       , MUII_CheckMark,\
  449.         MUIA_Image_FreeVert   , TRUE,\
  450.         MUIA_Selected         , selected,\
  451.         MUIA_Background       , MUII_ButtonBack,\
  452.         MUIA_ShowSelState     , FALSE,\
  453.         End
  454.  
  455. #define KeyCheckMark(selected,control)\
  456.     ImageObject,\
  457.         ImageButtonFrame,\
  458.         MUIA_InputMode        , MUIV_InputMode_Toggle,\
  459.         MUIA_Image_Spec       , MUII_CheckMark,\
  460.         MUIA_Image_FreeVert   , TRUE,\
  461.         MUIA_Selected         , selected,\
  462.         MUIA_Background       , MUII_ButtonBack,\
  463.         MUIA_ShowSelState     , FALSE,\
  464.         MUIA_ControlChar      , control,\
  465.         End
  466.  
  467.  
  468.  
  469. /***************************************************************************
  470. **
  471. ** Button-Objects
  472. ** --------------
  473. **
  474. ** Note: Use small letters for KeyButtons, e.g.
  475. **       KeyButton("Cancel",'c')  and not  KeyButton("Cancel",'C') !!
  476. **
  477. ***************************************************************************/
  478.  
  479. #define SimpleButton(name)\
  480.     TextObject,\
  481.         ButtonFrame,\
  482.         MUIA_Text_Contents, name,\
  483.         MUIA_Text_PreParse, "\33c",\
  484.         MUIA_InputMode    , MUIV_InputMode_RelVerify,\
  485.         MUIA_Background   , MUII_ButtonBack,\
  486.         End
  487.  
  488. #define KeyButton(name,key)\
  489.     TextObject,\
  490.         ButtonFrame,\
  491.         MUIA_Text_Contents, name,\
  492.         MUIA_Text_PreParse, "\33c",\
  493.         MUIA_Text_HiChar  , key,\
  494.         MUIA_ControlChar  , key,\
  495.         MUIA_InputMode    , MUIV_InputMode_RelVerify,\
  496.         MUIA_Background   , MUII_ButtonBack,\
  497.         End
  498.  
  499.  
  500.  
  501. /***************************************************************************
  502. **
  503. ** Cycle-Object
  504. ** ------------
  505. **
  506. ***************************************************************************/
  507.  
  508. #define Cycle(entries)        CycleObject, MUIA_Cycle_Entries, entries, End
  509. #define KeyCycle(entries,key) CycleObject, MUIA_Cycle_Entries, entries, MUIA_ControlChar, key, End
  510.  
  511.  
  512.  
  513. /***************************************************************************
  514. **
  515. ** Radio-Object
  516. ** ------------
  517. **
  518. ***************************************************************************/
  519.  
  520. #define Radio(name,array)\
  521.     RadioObject,\
  522.         GroupFrameT(name),\
  523.         MUIA_Radio_Entries,array,\
  524.         End
  525.  
  526. #define KeyRadio(name,array,key)\
  527.     RadioObject,\
  528.         GroupFrameT(name),\
  529.         MUIA_Radio_Entries,array,\
  530.         MUIA_ControlChar, key,\
  531.         End
  532.  
  533.  
  534.  
  535. /***************************************************************************
  536. **
  537. ** Slider-Object
  538. ** -------------
  539. **
  540. ***************************************************************************/
  541.  
  542.  
  543. #define Slider(min,max,level)\
  544.     SliderObject,\
  545.         MUIA_Slider_Min  , min,\
  546.         MUIA_Slider_Max  , max,\
  547.         MUIA_Slider_Level, level,\
  548.         End
  549.  
  550. #define KeySlider(min,max,level,key)\
  551.     SliderObject,\
  552.         MUIA_Slider_Min  , min,\
  553.         MUIA_Slider_Max  , max,\
  554.         MUIA_Slider_Level, level,\
  555.         MUIA_ControlChar , key,\
  556.         End
  557.  
  558.  
  559.  
  560. /***************************************************************************
  561. **
  562. ** Popup-Object
  563. ** ------------
  564. **
  565. ** An often needed GUI element is a string gadget with a little button
  566. ** that opens up a (small) window with a list containing possible entries
  567. ** for this gadget. Together with the Popup and the String macro,
  568. ** such a thing would look like
  569. **
  570. ** VGroup,
  571. **    Child, Popup(ST_Font, String("helvetica/13",32), &Hook, MUII_Popup),
  572. **    ...,
  573. **
  574. ** ST_Font will hold a pointer to the embedded string gadget and can
  575. ** be used to set and get its contents as with every other string object.
  576. **
  577. ** The hook will be called with the string gadget as object whenever
  578. ** the user releases the popup button and could look like this:
  579. **
  580. ** ULONG __asm __saveds HookFunc(register __a2 APTR obj,MUII_File)
  581. ** {
  582. **    ...
  583. **
  584. **    // put our application to sleep while displaying the requester
  585. **     set(Application,MUIA_Application_Sleep,TRUE);
  586. **
  587. **    // get the calling objects window and position
  588. **     get(obj,MUIA_Window  ,&window);
  589. **     get(obj,MUIA_LeftEdge,&l);
  590. **     get(obj,MUIA_TopEdge ,&t);
  591. **     get(obj,MUIA_Width   ,&w);
  592. **     get(obj,MUIA_Height  ,&h);
  593. **
  594. **    if (req=MUI_AllocAslRequestTags(ASL_FontRequest,TAG_DONE))
  595. **    {
  596. **       if (MUI_AslRequestTags(req,
  597. **             ASLFO_Window         ,window,
  598. **          ASLFO_PrivateIDCMP   ,TRUE,
  599. **          ASLFO_TitleText      ,"Select Font",
  600. **          ASLFO_InitialLeftEdge,window->LeftEdge + l,
  601. **          ASLFO_InitialTopEdge ,window->TopEdge  + t+h,
  602. **          ASLFO_InitialWidth   ,w,
  603. **          ASLFO_InitialHeight  ,250,
  604. **          TAG_DONE))
  605. **           {
  606. **          // set the new contents for our string gadget
  607. **                set(obj,MUIA_String_Contents,req->fo_Attr.ta_Name);
  608. **            }
  609. **           MUI_FreeAslRequest(req);
  610. **    }
  611. **
  612. **    // wake up our application again
  613. **     set(Application,MUIA_Application_Sleep,FALSE);
  614. **
  615. **     return(0);
  616. ** }
  617. **
  618. ** Note: This macro needs a "APTR dummy;" declaration somewhere in your
  619. **       code to work.
  620. **
  621. ***************************************************************************/
  622.  
  623. #define Popup(ptr,obj,hook,img)\
  624.     HGroup, GroupSpacing(1),\
  625.         Child, ptr=obj,\
  626.         Child, dummy = ImageObject,\
  627.             ImageButtonFrame,\
  628.             MUIA_Image_Spec          , img,\
  629.             MUIA_Image_FontMatchWidth, TRUE,\
  630.             MUIA_Image_FreeVert      , TRUE,\
  631.             MUIA_InputMode           , MUIV_InputMode_RelVerify,\
  632.             MUIA_Background          , MUII_BACKGROUND,\
  633.             End,\
  634.         TAG_IGNORE, dummy && ptr ? DoMethod(dummy,MUIM_Notify,MUIA_Pressed,FALSE,ptr,2,MUIM_CallHook,hook) : 0,\
  635.         End
  636.  
  637.  
  638.  
  639. /***************************************************************************
  640. **
  641. ** Labeling Objects
  642. ** ----------------
  643. **
  644. ** Labeling objects, e.g. a group of string gadgets,
  645. **
  646. **   Small: |foo   |
  647. **  Normal: |bar   |
  648. **     Big: |foobar|
  649. **    Huge: |barfoo|
  650. **
  651. ** is done using a 2 column group:
  652. **
  653. ** ColGroup(2),
  654. **     Child, Label2("Small:" ),
  655. **    Child, StringObject, End,
  656. **     Child, Label2("Normal:"),
  657. **    Child, StringObject, End,
  658. **     Child, Label2("Big:"   ),
  659. **    Child, StringObject, End,
  660. **     Child, Label2("Huge:"  ),
  661. **    Child, StringObject, End,
  662. **    End,
  663. **
  664. ** Note that we have three versions of the label macro, depending on
  665. ** the frame type of the right hand object:
  666. **
  667. ** Label1(): For use with standard frames (e.g. checkmarks).
  668. ** Label2(): For use with double high frames (e.g. string gadgets).
  669. ** Label() : For use with objects without a frame.
  670. **
  671. ** These macros ensure that your label will look fine even if the
  672. ** user of your application configured some strange spacing values.
  673. ** If you want to use your own labeling, you'll have to pay attention
  674. ** on this topic yourself.
  675. **
  676. ***************************************************************************/
  677.  
  678. #define Label(label)   TextObject, MUIA_Text_PreParse, "\33r", MUIA_Text_Contents, label, MUIA_Weight, 0, MUIA_InnerLeft, 0, MUIA_InnerRight, 0, End
  679. #define Label1(label)  TextObject, MUIA_Text_PreParse, "\33r", MUIA_Text_Contents, label, MUIA_Weight, 0, MUIA_InnerLeft, 0, MUIA_InnerRight, 0, ButtonFrame, MUIA_FramePhantomHoriz, TRUE, End
  680. #define Label2(label)  TextObject, MUIA_Text_PreParse, "\33r", MUIA_Text_Contents, label, MUIA_Weight, 0, MUIA_InnerLeft, 0, MUIA_InnerRight, 0, StringFrame, MUIA_FramePhantomHoriz, TRUE, End
  681. #define LLabel(label)  TextObject, MUIA_Text_Contents, label, MUIA_Weight, 0, MUIA_InnerLeft, 0, MUIA_InnerRight, 0, End
  682. #define LLabel1(label) TextObject, MUIA_Text_Contents, label, MUIA_Weight, 0, MUIA_InnerLeft, 0, MUIA_InnerRight, 0, ButtonFrame, MUIA_FramePhantomHoriz, TRUE, End
  683. #define LLabel2(label) TextObject, MUIA_Text_Contents, label, MUIA_Weight, 0, MUIA_InnerLeft, 0, MUIA_InnerRight, 0, StringFrame, MUIA_FramePhantomHoriz, TRUE, End
  684.  
  685. #define KeyLabel(label,hichar)   TextObject, MUIA_Text_PreParse, "\33r", MUIA_Text_Contents, label, MUIA_Weight, 0, MUIA_InnerLeft, 0, MUIA_InnerRight, 0, MUIA_Text_HiChar, hichar, End
  686. #define KeyLabel1(label,hichar)  TextObject, MUIA_Text_PreParse, "\33r", MUIA_Text_Contents, label, MUIA_Weight, 0, MUIA_InnerLeft, 0, MUIA_InnerRight, 0, MUIA_Text_HiChar, hichar, ButtonFrame, MUIA_FramePhantomHoriz, TRUE, End
  687. #define KeyLabel2(label,hichar)  TextObject, MUIA_Text_PreParse, "\33r", MUIA_Text_Contents, label, MUIA_Weight, 0, MUIA_InnerLeft, 0, MUIA_InnerRight, 0, MUIA_Text_HiChar, hichar, StringFrame, MUIA_FramePhantomHoriz, TRUE, End
  688. #define KeyLLabel(label,hichar)  TextObject, MUIA_Text_Contents, label, MUIA_Weight, 0, MUIA_InnerLeft, 0, MUIA_InnerRight, 0, MUIA_Text_HiChar, hichar, End
  689. #define KeyLLabel1(label,hichar) TextObject, MUIA_Text_Contents, label, MUIA_Weight, 0, MUIA_InnerLeft, 0, MUIA_InnerRight, 0, MUIA_Text_HiChar, hichar, ButtonFrame, MUIA_FramePhantomHoriz, TRUE, End
  690. #define KeyLLabel2(label,hichar) TextObject, MUIA_Text_Contents, label, MUIA_Weight, 0, MUIA_InnerLeft, 0, MUIA_InnerRight, 0, MUIA_Text_HiChar, hichar, StringFrame, MUIA_FramePhantomHoriz, TRUE, End
  691.  
  692.  
  693.  
  694. /***************************************************************************
  695. **
  696. ** Controlling Objects
  697. ** -------------------
  698. **
  699. ** set() and get() are two short stubs for BOOPSI GetAttr() and SetAttrs()
  700. ** calls:
  701. **
  702. ** {
  703. **    char *x;
  704. **
  705. **    set(obj,MUIA_String_Contents,"foobar");
  706. **    get(obj,MUIA_String_Contents,&x);
  707. **
  708. **    printf("gadget contains '%s'\n",x);
  709. ** }
  710. **
  711. ***************************************************************************/
  712.  
  713. #define get(obj,attr,store) GetAttr(attr,obj,(ULONG *)store)
  714. #define set(obj,attr,value) SetAttrs(obj,attr,value,TAG_DONE)
  715.  
  716. #define setmutex(obj,n)     set(obj,MUIA_Radio_Active,n)
  717. #define setcycle(obj,n)     set(obj,MUIA_Cycle_Active,n)
  718. #define setstring(obj,s)    set(obj,MUIA_String_Contents,s)
  719. #define setcheckmark(obj,b) set(obj,MUIA_Selected,b)
  720. #define setslider(obj,l)    set(obj,MUIA_Slider_Level,l)
  721.  
  722. #endif /* MUI_NOSHORTCUTS */
  723.  
  724.  
  725. /***************************************************************************
  726. **
  727. ** For Boopsi Image Implementors Only:
  728. **
  729. ** If MUI is using a boopsi image object, it will send a special method
  730. ** immediately after object creation. This method has a parameter structure
  731. ** where the boopsi can fill in its minimum and maximum size and learn if
  732. ** its used in a horizontal or vertical context.
  733. **
  734. ** The boopsi image must use the method id (MUIM_BoopsiQuery) as return
  735. ** value. That's how MUI sees that the method is implemented.
  736. **
  737. ** Note: MUI does not depend on this method. If the boopsi image doesn't
  738. **       implement it, minimum size will be 0 and maximum size unlimited.
  739. **
  740. ***************************************************************************/
  741.  
  742. #define MUIM_BoopsiQuery 0x80427157 /* this is send to the boopsi and */
  743.                                     /* must be used as return value   */
  744.  
  745. struct MUIP_BoopsiQuery             /* parameter structure */
  746. {
  747.     ULONG mbq_MethodID;              /* always MUIM_BoopsiQuery */
  748.  
  749.     struct Screen *mbq_Screen;       /* read only, display context */
  750.     ULONG mbq_Flags;                 /* read only, see below */
  751.  
  752.     LONG mbq_MinWidth ;              /* write only, fill in min width  */
  753.     LONG mbq_MinHeight;              /* write only, fill in min height */
  754.     LONG mbq_MaxWidth ;              /* write only, fill in max width  */
  755.     LONG mbq_MaxHeight;              /* write only, fill in max height */
  756.  
  757.     /* may grow in future ... */
  758. };
  759.  
  760. #define MBQF_HORIZ (1<<0)           /* object used in a horizontal */
  761.                                     /* context (else vertical)     */
  762.  
  763. #define MBQ_MUI_MAXMAX (10000)          /* use this for unlimited MaxWidth/Height */
  764.  
  765.  
  766. /****************************************************************************/
  767. /** Notify.mui 6.65 (26.10.93)                                             **/
  768. /****************************************************************************/
  769.  
  770. #ifdef _DCC
  771. extern char MUIC_Notify[];
  772. #else
  773. #define MUIC_Notify "Notify.mui"
  774. #endif
  775.  
  776. /* Methods */
  777.  
  778. #define MUIM_CallHook                  0x8042b96b
  779. #define MUIM_Notify                    0x8042c9cb
  780. #define MUIM_Set                       0x8042549a
  781. #define MUIM_SetAsString               0x80422590
  782. #define MUIM_WriteLong                 0x80428d86
  783. #define MUIM_WriteString               0x80424bf4
  784. struct  MUIP_CallHook                  { ULONG id; struct Hook *Hook; ULONG param1; /* ... */ };
  785. struct  MUIP_Notify                    { ULONG id; ULONG TrigAttr; ULONG TrigVal; APTR DestObj; ULONG FollowParams; /* ... */ };
  786. struct  MUIP_Set                       { ULONG id; ULONG attr; ULONG val; };
  787. struct  MUIP_SetAsString               { ULONG id; ULONG attr; char *format; ULONG val; /* ... */ };
  788. struct  MUIP_WriteLong                 { ULONG id; ULONG val; ULONG *memory; };
  789. struct  MUIP_WriteString               { ULONG id; char *str; char *memory; };
  790.  
  791. /* Attributes */
  792.  
  793. #define MUIA_AppMessage                 0x80421955 /* ..g struct AppMessage * */
  794. #define MUIA_HelpFile                   0x80423a6e /* isg STRPTR            */
  795. #define MUIA_HelpLine                   0x8042a825 /* isg LONG              */
  796. #define MUIA_HelpNode                   0x80420b85 /* isg STRPTR            */
  797. #define MUIA_Revision                   0x80427eaa /* ..g LONG              */
  798. #define MUIA_UserData                   0x80420313 /* isg ULONG             */
  799. #define MUIA_Version                    0x80422301 /* ..g LONG              */
  800.  
  801.  
  802.  
  803. /****************************************************************************/
  804. /** Application.mui 6.57 (26.10.93)                                        **/
  805. /****************************************************************************/
  806.  
  807. #ifdef _DCC
  808. extern char MUIC_Application[];
  809. #else
  810. #define MUIC_Application "Application.mui"
  811. #endif
  812.  
  813. /* Methods */
  814.  
  815. #define MUIM_Application_GetMenuCheck  0x8042c0a7
  816. #define MUIM_Application_GetMenuState  0x8042a58f
  817. #define MUIM_Application_Input         0x8042d0f5
  818. #define MUIM_Application_InputBuffered 0x80427e59
  819. #define MUIM_Application_Load          0x8042f90d
  820. #define MUIM_Application_PushMethod    0x80429ef8
  821. #define MUIM_Application_ReturnID      0x804276ef
  822. #define MUIM_Application_Save          0x804227ef
  823. #define MUIM_Application_SetMenuCheck  0x8042a707
  824. #define MUIM_Application_SetMenuState  0x80428bef
  825. #define MUIM_Application_ShowHelp      0x80426479
  826. struct  MUIP_Application_GetMenuCheck  { ULONG id; ULONG MenuID; };
  827. struct  MUIP_Application_GetMenuState  { ULONG id; ULONG MenuID; };
  828. struct  MUIP_Application_Input         { ULONG id; LONGBITS *signal; };
  829. struct  MUIP_Application_Load          { ULONG id; STRPTR name; };
  830. struct  MUIP_Application_PushMethod    { ULONG id; Object *dest; LONG count; /* ... */ };
  831. struct  MUIP_Application_ReturnID      { ULONG id; ULONG retid; };
  832. struct  MUIP_Application_Save          { ULONG id; STRPTR name; };
  833. struct  MUIP_Application_SetMenuCheck  { ULONG id; ULONG MenuID; LONG set; };
  834. struct  MUIP_Application_SetMenuState  { ULONG id; ULONG MenuID; LONG set; };
  835. struct  MUIP_Application_ShowHelp      { ULONG id; Object *window; char *name; char *node; LONG line; };
  836.  
  837. /* Attributes */
  838.  
  839. #define MUIA_Application_Active         0x804260ab /* isg BOOL              */
  840. #define MUIA_Application_Author         0x80424842 /* i.g STRPTR            */
  841. #define MUIA_Application_Base           0x8042e07a /* i.g STRPTR            */
  842. #define MUIA_Application_Broker         0x8042dbce /* ..g Broker *          */
  843. #define MUIA_Application_BrokerHook     0x80428f4b /* isg struct Hook *     */
  844. #define MUIA_Application_BrokerPort     0x8042e0ad /* ..g struct MsgPort *  */
  845. #define MUIA_Application_BrokerPri      0x8042c8d0 /* i.g LONG              */
  846. #define MUIA_Application_Commands       0x80428648 /* isg struct MUI_Command * */
  847. #define MUIA_Application_Copyright      0x8042ef4d /* i.g STRPTR            */
  848. #define MUIA_Application_Description    0x80421fc6 /* i.g STRPTR            */
  849. #define MUIA_Application_DiskObject     0x804235cb /* isg struct DiskObject * */
  850. #define MUIA_Application_DoubleStart    0x80423bc6 /* ..g BOOL              */
  851. #define MUIA_Application_DropObject     0x80421266 /* is. Object *          */
  852. #define MUIA_Application_Iconified      0x8042a07f /* .sg BOOL              */
  853. #define MUIA_Application_Menu           0x80420e1f /* i.g struct NewMenu *  */
  854. #define MUIA_Application_MenuAction     0x80428961 /* ..g ULONG             */
  855. #define MUIA_Application_MenuHelp       0x8042540b /* ..g ULONG             */
  856. #define MUIA_Application_RexxMsg        0x8042fd88 /* ..g struct RxMsg *    */
  857. #define MUIA_Application_RexxString     0x8042d711 /* .s. STRPTR            */
  858. #define MUIA_Application_SingleTask     0x8042a2c8 /* i.. BOOL              */
  859. #define MUIA_Application_Sleep          0x80425711 /* .s. BOOL              */
  860. #define MUIA_Application_Title          0x804281b8 /* i.g STRPTR            */
  861. #define MUIA_Application_Version        0x8042b33f /* i.g STRPTR            */
  862. #define MUIA_Application_Window         0x8042bfe0 /* i.. Object *          */
  863.  
  864.  
  865.  
  866. /****************************************************************************/
  867. /** Window.mui 6.117 (26.10.93)                                            **/
  868. /****************************************************************************/
  869.  
  870. #ifdef _DCC
  871. extern char MUIC_Window[];
  872. #else
  873. #define MUIC_Window "Window.mui"
  874. #endif
  875.  
  876. /* Methods */
  877.  
  878. #define MUIM_Window_GetMenuCheck       0x80420414
  879. #define MUIM_Window_GetMenuState       0x80420d2f
  880. #define MUIM_Window_ScreenToBack       0x8042913d
  881. #define MUIM_Window_ScreenToFront      0x804227a4
  882. #define MUIM_Window_SetCycleChain      0x80426510
  883. #define MUIM_Window_SetMenuCheck       0x80422243
  884. #define MUIM_Window_SetMenuState       0x80422b5e
  885. #define MUIM_Window_ToBack             0x8042152e
  886. #define MUIM_Window_ToFront            0x8042554f
  887. struct  MUIP_Window_GetMenuCheck       { ULONG id; ULONG MenuID; };
  888. struct  MUIP_Window_GetMenuState       { ULONG id; ULONG MenuID; };
  889. struct  MUIP_Window_SetCycleChain      { ULONG id; APTR o1; /* ;o2;...;NULL */ };
  890. struct  MUIP_Window_SetMenuCheck       { ULONG id; ULONG MenuID; LONG set; };
  891. struct  MUIP_Window_SetMenuState       { ULONG id; ULONG MenuID; LONG set; };
  892.  
  893. /* Attributes */
  894.  
  895. #define MUIA_Window_Activate            0x80428d2f /* isg BOOL              */
  896. #define MUIA_Window_ActiveObject        0x80427925 /* .sg Object *          */
  897. #define MUIA_Window_AltHeight           0x8042cce3 /* i.g LONG              */
  898. #define MUIA_Window_AltLeftEdge         0x80422d65 /* i.g LONG              */
  899. #define MUIA_Window_AltTopEdge          0x8042e99b /* i.g LONG              */
  900. #define MUIA_Window_AltWidth            0x804260f4 /* i.g LONG              */
  901. #define MUIA_Window_AppWindow           0x804280cf /* i.. BOOL              */
  902. #define MUIA_Window_Backdrop            0x8042c0bb /* i.. BOOL              */
  903. #define MUIA_Window_Borderless          0x80429b79 /* i.. BOOL              */
  904. #define MUIA_Window_CloseGadget         0x8042a110 /* i.. BOOL              */
  905. #define MUIA_Window_CloseRequest        0x8042e86e /* ..g BOOL              */
  906. #define MUIA_Window_DefaultObject       0x804294d7 /* isg Object *          */
  907. #define MUIA_Window_DepthGadget         0x80421923 /* i.. BOOL              */
  908. #define MUIA_Window_DragBar             0x8042045d /* i.. BOOL              */
  909. #define MUIA_Window_Height              0x80425846 /* i.g LONG              */
  910. #define MUIA_Window_ID                  0x804201bd /* isg ULONG             */
  911. #define MUIA_Window_InputEvent          0x804247d8 /* ..g struct InputEvent * */
  912. #define MUIA_Window_LeftEdge            0x80426c65 /* i.g LONG              */
  913. #define MUIA_Window_Menu                0x8042db94 /* i.. struct NewMenu *  */
  914. #define MUIA_Window_NoMenus             0x80429df5 /* .s. BOOL              */
  915. #define MUIA_Window_Open                0x80428aa0 /* .sg BOOL              */
  916. #define MUIA_Window_PublicScreen        0x804278e4 /* isg STRPTR            */
  917. #define MUIA_Window_RefWindow           0x804201f4 /* is. Object *          */
  918. #define MUIA_Window_RootObject          0x8042cba5 /* i.. Object *          */
  919. #define MUIA_Window_Screen              0x8042df4f /* isg struct Screen *   */
  920. #define MUIA_Window_ScreenTitle         0x804234b0 /* isg STRPTR            */
  921. #define MUIA_Window_SizeGadget          0x8042e33d /* i.. BOOL              */
  922. #define MUIA_Window_SizeRight           0x80424780 /* i.. BOOL              */
  923. #define MUIA_Window_Sleep               0x8042e7db /* .sg BOOL              */
  924. #define MUIA_Window_Title               0x8042ad3d /* isg STRPTR            */
  925. #define MUIA_Window_TopEdge             0x80427c66 /* i.g LONG              */
  926. #define MUIA_Window_Width               0x8042dcae /* i.g LONG              */
  927. #define MUIA_Window_Window              0x80426a42 /* ..g struct Window *   */
  928.  
  929. #define MUIV_Window_ActiveObject_None 0
  930. #define MUIV_Window_ActiveObject_Next -1
  931. #define MUIV_Window_ActiveObject_Prev -2
  932. #define MUIV_Window_AltHeight_MinMax(p) (0-(p))
  933. #define MUIV_Window_AltHeight_Visible(p) (-100-(p))
  934. #define MUIV_Window_AltHeight_Screen(p) (-200-(p))
  935. #define MUIV_Window_AltHeight_Scaled -1000
  936. #define MUIV_Window_AltLeftEdge_Centered -1
  937. #define MUIV_Window_AltLeftEdge_Moused -2
  938. #define MUIV_Window_AltLeftEdge_NoChange -1000
  939. #define MUIV_Window_AltTopEdge_Centered -1
  940. #define MUIV_Window_AltTopEdge_Moused -2
  941. #define MUIV_Window_AltTopEdge_Delta(p) (-3-(p))
  942. #define MUIV_Window_AltTopEdge_NoChange -1000
  943. #define MUIV_Window_AltWidth_MinMax(p) (0-(p))
  944. #define MUIV_Window_AltWidth_Visible(p) (-100-(p))
  945. #define MUIV_Window_AltWidth_Screen(p) (-200-(p))
  946. #define MUIV_Window_AltWidth_Scaled -1000
  947. #define MUIV_Window_Height_MinMax(p) (0-(p))
  948. #define MUIV_Window_Height_Visible(p) (-100-(p))
  949. #define MUIV_Window_Height_Screen(p) (-200-(p))
  950. #define MUIV_Window_Height_Scaled -1000
  951. #define MUIV_Window_Height_Default -1001
  952. #define MUIV_Window_LeftEdge_Centered -1
  953. #define MUIV_Window_LeftEdge_Moused -2
  954. #define MUIV_Window_Menu_NoMenu -1
  955. #define MUIV_Window_TopEdge_Centered -1
  956. #define MUIV_Window_TopEdge_Moused -2
  957. #define MUIV_Window_TopEdge_Delta(p) (-3-(p))
  958. #define MUIV_Window_Width_MinMax(p) (0-(p))
  959. #define MUIV_Window_Width_Visible(p) (-100-(p))
  960. #define MUIV_Window_Width_Screen(p) (-200-(p))
  961. #define MUIV_Window_Width_Scaled -1000
  962. #define MUIV_Window_Width_Default -1001
  963.  
  964.  
  965. /****************************************************************************/
  966. /** Area.mui 6.131 (26.10.93)                                              **/
  967. /****************************************************************************/
  968.  
  969. #ifdef _DCC
  970. extern char MUIC_Area[];
  971. #else
  972. #define MUIC_Area "Area.mui"
  973. #endif
  974.  
  975. /* Methods */
  976.  
  977.  
  978. /* Attributes */
  979.  
  980. #define MUIA_ApplicationObject          0x8042d3ee /* ..g Object *          */
  981. #define MUIA_Background                 0x8042545b /* is. LONG              */
  982. #define MUIA_BottomEdge                 0x8042e552 /* ..g LONG              */
  983. #define MUIA_ControlChar                0x8042120b /* i.. char              */
  984. #define MUIA_Disabled                   0x80423661 /* isg BOOL              */
  985. #define MUIA_ExportID                   0x8042d76e /* isg LONG              */
  986. #define MUIA_FixHeight                  0x8042a92b /* i.. LONG              */
  987. #define MUIA_FixHeightTxt               0x804276f2 /* i.. LONG              */
  988. #define MUIA_FixWidth                   0x8042a3f1 /* i.. LONG              */
  989. #define MUIA_FixWidthTxt                0x8042d044 /* i.. STRPTR            */
  990. #define MUIA_Font                       0x8042be50 /* i.g struct TextFont * */
  991. #define MUIA_Frame                      0x8042ac64 /* i.. LONG              */
  992. #define MUIA_FramePhantomHoriz          0x8042ed76 /* i.. BOOL              */
  993. #define MUIA_FrameTitle                 0x8042d1c7 /* i.. STRPTR            */
  994. #define MUIA_Height                     0x80423237 /* ..g LONG              */
  995. #define MUIA_HorizWeight                0x80426db9 /* i.. LONG              */
  996. #define MUIA_InnerBottom                0x8042f2c0 /* i.. LONG              */
  997. #define MUIA_InnerLeft                  0x804228f8 /* i.. LONG              */
  998. #define MUIA_InnerRight                 0x804297ff /* i.. LONG              */
  999. #define MUIA_InnerTop                   0x80421eb6 /* i.. LONG              */
  1000. #define MUIA_InputMode                  0x8042fb04 /* i.. LONG              */
  1001. #define MUIA_LeftEdge                   0x8042bec6 /* ..g LONG              */
  1002. #define MUIA_Pressed                    0x80423535 /* ..g BOOL              */
  1003. #define MUIA_RightEdge                  0x8042ba82 /* ..g LONG              */
  1004. #define MUIA_Selected                   0x8042654b /* isg BOOL              */
  1005. #define MUIA_ShowSelState               0x8042caac /* i.. BOOL              */
  1006. #define MUIA_Timer                      0x80426435 /* ..g LONG              */
  1007. #define MUIA_TopEdge                    0x8042509b /* ..g LONG              */
  1008. #define MUIA_VertWeight                 0x804298d0 /* i.. LONG              */
  1009. #define MUIA_Weight                     0x80421d1f /* i.. LONG              */
  1010. #define MUIA_Width                      0x8042b59c /* ..g LONG              */
  1011. #define MUIA_Window                     0x80421591 /* ..g struct Window *   */
  1012. #define MUIA_WindowObject               0x8042669e /* ..g Object *          */
  1013.  
  1014. #define MUIV_Font_Inherit 0
  1015. #define MUIV_Font_Normal -1
  1016. #define MUIV_Font_List -2
  1017. #define MUIV_Font_Tiny -3
  1018. #define MUIV_Font_Fixed -4
  1019. #define MUIV_Font_Title -5
  1020. #define MUIV_Frame_None 0
  1021. #define MUIV_Frame_Button 1
  1022. #define MUIV_Frame_ImageButton 2
  1023. #define MUIV_Frame_Text 3
  1024. #define MUIV_Frame_String 4
  1025. #define MUIV_Frame_ReadList 5
  1026. #define MUIV_Frame_InputList 6
  1027. #define MUIV_Frame_Prop 7
  1028. #define MUIV_Frame_Gauge 8
  1029. #define MUIV_Frame_Group 9
  1030. #define MUIV_Frame_PopUp 10
  1031. #define MUIV_Frame_Virtual 11
  1032. #define MUIV_Frame_Count 12
  1033. #define MUIV_InputMode_None 0
  1034. #define MUIV_InputMode_RelVerify 1
  1035. #define MUIV_InputMode_Immediate 2
  1036. #define MUIV_InputMode_Toggle 3
  1037.  
  1038.  
  1039. /****************************************************************************/
  1040. /** Rectangle.mui 6.47 (26.10.93)                                          **/
  1041. /****************************************************************************/
  1042.  
  1043. #ifdef _DCC
  1044. extern char MUIC_Rectangle[];
  1045. #else
  1046. #define MUIC_Rectangle "Rectangle.mui"
  1047. #endif
  1048.  
  1049.  
  1050. /****************************************************************************/
  1051. /** Image.mui 6.61 (26.10.93)                                              **/
  1052. /****************************************************************************/
  1053.  
  1054. #ifdef _DCC
  1055. extern char MUIC_Image[];
  1056. #else
  1057. #define MUIC_Image "Image.mui"
  1058. #endif
  1059.  
  1060. /* Attributes */
  1061.  
  1062. #define MUIA_Image_FontMatch            0x8042815d /* i.. BOOL              */
  1063. #define MUIA_Image_FontMatchHeight      0x80429f26 /* i.. BOOL              */
  1064. #define MUIA_Image_FontMatchWidth       0x804239bf /* i.. BOOL              */
  1065. #define MUIA_Image_FreeHoriz            0x8042da84 /* i.. BOOL              */
  1066. #define MUIA_Image_FreeVert             0x8042ea28 /* i.. BOOL              */
  1067. #define MUIA_Image_OldImage             0x80424f3d /* i.. struct Image *    */
  1068. #define MUIA_Image_Spec                 0x804233d5 /* i.. char *            */
  1069. #define MUIA_Image_State                0x8042a3ad /* is. LONG              */
  1070.  
  1071.  
  1072.  
  1073. /****************************************************************************/
  1074. /** Text.mui 6.60 (26.10.93)                                               **/
  1075. /****************************************************************************/
  1076.  
  1077. #ifdef _DCC
  1078. extern char MUIC_Text[];
  1079. #else
  1080. #define MUIC_Text "Text.mui"
  1081. #endif
  1082.  
  1083. /* Attributes */
  1084.  
  1085. #define MUIA_Text_Contents              0x8042f8dc /* isg STRPTR            */
  1086. #define MUIA_Text_HiChar                0x804218ff /* i.. char              */
  1087. #define MUIA_Text_PreParse              0x8042566d /* isg STRPTR            */
  1088. #define MUIA_Text_SetMax                0x80424d0a /* i.. BOOL              */
  1089. #define MUIA_Text_SetMin                0x80424e10 /* i.. BOOL              */
  1090.  
  1091.  
  1092.  
  1093. /****************************************************************************/
  1094. /** String.mui 6.62 (26.10.93)                                             **/
  1095. /****************************************************************************/
  1096.  
  1097. #ifdef _DCC
  1098. extern char MUIC_String[];
  1099. #else
  1100. #define MUIC_String "String.mui"
  1101. #endif
  1102.  
  1103. /* Attributes */
  1104.  
  1105. #define MUIA_String_Accept              0x8042e3e1 /* isg STRPTR            */
  1106. #define MUIA_String_Acknowledge         0x8042026c /* ..g STRPTR            */
  1107. #define MUIA_String_AttachedList        0x80420fd2 /* i.. Object *          */
  1108. #define MUIA_String_BufferPos           0x80428b6c /* .sg LONG              */
  1109. #define MUIA_String_Contents            0x80428ffd /* isg STRPTR            */
  1110. #define MUIA_String_DisplayPos          0x8042ccbf /* .sg LONG              */
  1111. #define MUIA_String_Format              0x80427484 /* i.g LONG              */
  1112. #define MUIA_String_Integer             0x80426e8a /* isg ULONG             */
  1113. #define MUIA_String_MaxLen              0x80424984 /* i.. LONG              */
  1114. #define MUIA_String_Reject              0x8042179c /* isg STRPTR            */
  1115. #define MUIA_String_Secret              0x80428769 /* i.g BOOL              */
  1116.  
  1117. #define MUIV_String_Format_Left 0
  1118. #define MUIV_String_Format_Center 1
  1119. #define MUIV_String_Format_Right 2
  1120.  
  1121.  
  1122. /****************************************************************************/
  1123. /** Prop.mui 6.73 (26.10.93)                                               **/
  1124. /****************************************************************************/
  1125.  
  1126. #ifdef _DCC
  1127. extern char MUIC_Prop[];
  1128. #else
  1129. #define MUIC_Prop "Prop.mui"
  1130. #endif
  1131.  
  1132. /* Attributes */
  1133.  
  1134. #define MUIA_Prop_Entries               0x8042fbdb /* isg LONG              */
  1135. #define MUIA_Prop_First                 0x8042d4b2 /* isg LONG              */
  1136. #define MUIA_Prop_Horiz                 0x8042f4f3 /* i.g BOOL              */
  1137. #define MUIA_Prop_Visible               0x8042fea6 /* isg LONG              */
  1138.  
  1139.  
  1140.  
  1141. /****************************************************************************/
  1142. /** Gauge.mui 6.56 (26.10.93)                                              **/
  1143. /****************************************************************************/
  1144.  
  1145. #ifdef _DCC
  1146. extern char MUIC_Gauge[];
  1147. #else
  1148. #define MUIC_Gauge "Gauge.mui"
  1149. #endif
  1150.  
  1151. /* Attributes */
  1152.  
  1153. #define MUIA_Gauge_Current              0x8042f0dd /* isg LONG              */
  1154. #define MUIA_Gauge_Divide               0x8042d8df /* isg BOOL              */
  1155. #define MUIA_Gauge_Horiz                0x804232dd /* i.. BOOL              */
  1156. #define MUIA_Gauge_Max                  0x8042bcdb /* isg LONG              */
  1157.  
  1158.  
  1159.  
  1160. /****************************************************************************/
  1161. /** Scale.mui 6.50 (26.10.93)                                              **/
  1162. /****************************************************************************/
  1163.  
  1164. #ifdef _DCC
  1165. extern char MUIC_Scale[];
  1166. #else
  1167. #define MUIC_Scale "Scale.mui"
  1168. #endif
  1169.  
  1170. /* Attributes */
  1171.  
  1172. #define MUIA_Scale_Horiz                0x8042919a /* isg BOOL              */
  1173.  
  1174.  
  1175.  
  1176. /****************************************************************************/
  1177. /** Boopsi.mui 6.52 (26.10.93)                                             **/
  1178. /****************************************************************************/
  1179.  
  1180. #ifdef _DCC
  1181. extern char MUIC_Boopsi[];
  1182. #else
  1183. #define MUIC_Boopsi "Boopsi.mui"
  1184. #endif
  1185.  
  1186. /* Attributes */
  1187.  
  1188. #define MUIA_Boopsi_Class               0x80426999 /* isg struct IClass *   */
  1189. #define MUIA_Boopsi_ClassID             0x8042bfa3 /* isg char *            */
  1190. #define MUIA_Boopsi_MaxHeight           0x8042757f /* isg ULONG             */
  1191. #define MUIA_Boopsi_MaxWidth            0x8042bcb1 /* isg ULONG             */
  1192. #define MUIA_Boopsi_MinHeight           0x80422c93 /* isg ULONG             */
  1193. #define MUIA_Boopsi_MinWidth            0x80428fb2 /* isg ULONG             */
  1194. #define MUIA_Boopsi_Object              0x80420178 /* ..g Object *          */
  1195. #define MUIA_Boopsi_Remember            0x8042f4bd /* i.. ULONG             */
  1196. #define MUIA_Boopsi_TagDrawInfo         0x8042bae7 /* isg ULONG             */
  1197. #define MUIA_Boopsi_TagScreen           0x8042bc71 /* isg ULONG             */
  1198. #define MUIA_Boopsi_TagWindow           0x8042e11d /* isg ULONG             */
  1199.  
  1200.  
  1201.  
  1202. /****************************************************************************/
  1203. /** Colorfield.mui 6.13 (26.10.93)                                         **/
  1204. /****************************************************************************/
  1205.  
  1206. #ifdef _DCC
  1207. extern char MUIC_Colorfield[];
  1208. #else
  1209. #define MUIC_Colorfield "Colorfield.mui"
  1210. #endif
  1211.  
  1212. /* Attributes */
  1213.  
  1214. #define MUIA_Colorfield_Blue            0x8042d3b0 /* isg ULONG             */
  1215. #define MUIA_Colorfield_Green           0x80424466 /* isg ULONG             */
  1216. #define MUIA_Colorfield_Red             0x804279f6 /* isg ULONG             */
  1217. #define MUIA_Colorfield_RGB             0x8042677a /* isg ULONG *           */
  1218.  
  1219.  
  1220.  
  1221. /****************************************************************************/
  1222. /** List.mui 6.110 (26.10.93)                                              **/
  1223. /****************************************************************************/
  1224.  
  1225. #ifdef _DCC
  1226. extern char MUIC_List[];
  1227. #else
  1228. #define MUIC_List "List.mui"
  1229. #endif
  1230.  
  1231. /* Methods */
  1232.  
  1233. #define MUIM_List_Clear                0x8042ad89
  1234. #define MUIM_List_Exchange             0x8042468c
  1235. #define MUIM_List_GetEntry             0x804280ec
  1236. #define MUIM_List_Insert               0x80426c87
  1237. #define MUIM_List_Jump                 0x8042baab
  1238. #define MUIM_List_NextSelected         0x80425f17
  1239. #define MUIM_List_Redraw               0x80427993
  1240. #define MUIM_List_Remove               0x8042647e
  1241. #define MUIM_List_Select               0x804252d8
  1242. #define MUIM_List_Sort                 0x80422275
  1243. struct  MUIP_List_Exchange             { ULONG id; LONG pos1; LONG pos2; };
  1244. struct  MUIP_List_GetEntry             { ULONG id; LONG pos; APTR *entry; };
  1245. struct  MUIP_List_Insert               { ULONG id; APTR *entries; LONG count; LONG pos; };
  1246. struct  MUIP_List_Jump                 { ULONG id; LONG pos; };
  1247. struct  MUIP_List_NextSelected         { ULONG id; LONG *pos; };
  1248. struct  MUIP_List_Redraw               { ULONG id; LONG pos; };
  1249. struct  MUIP_List_Remove               { ULONG id; LONG pos; };
  1250. struct  MUIP_List_Select               { ULONG id; LONG pos; LONG seltype; LONG *state; };
  1251.  
  1252. /* Attributes */
  1253.  
  1254. #define MUIA_List_Active                0x8042391c /* isg LONG              */
  1255. #define MUIA_List_AdjustHeight          0x8042850d /* i.. BOOL              */
  1256. #define MUIA_List_AdjustWidth           0x8042354a /* i.. BOOL              */
  1257. #define MUIA_List_CompareHook           0x80425c14 /* i.. struct Hook *     */
  1258. #define MUIA_List_ConstructHook         0x8042894f /* i.. struct Hook *     */
  1259. #define MUIA_List_DestructHook          0x804297ce /* i.. struct Hook *     */
  1260. #define MUIA_List_DisplayHook           0x8042b4d5 /* i.. struct Hook *     */
  1261. #define MUIA_List_Entries               0x80421654 /* ..g LONG              */
  1262. #define MUIA_List_First                 0x804238d4 /* ..g LONG              */
  1263. #define MUIA_List_Format                0x80423c0a /* isg STRPTR            */
  1264. #define MUIA_List_MultiTestHook         0x8042c2c6 /* i.. struct Hook *     */
  1265. #define MUIA_List_Quiet                 0x8042d8c7 /* .s. BOOL              */
  1266. #define MUIA_List_Visible               0x8042191f /* ..g LONG              */
  1267.  
  1268. #define MUIV_List_Active_Off -1
  1269. #define MUIV_List_Active_Top -2
  1270. #define MUIV_List_Active_Bottom -3
  1271. #define MUIV_List_Active_Up -4
  1272. #define MUIV_List_Active_Down -5
  1273. #define MUIV_List_Active_PageUp -6
  1274. #define MUIV_List_Active_PageDown -7
  1275. #define MUIV_List_ConstructHook_String -1
  1276. #define MUIV_List_CursorType_None 0
  1277. #define MUIV_List_CursorType_Bar 1
  1278. #define MUIV_List_CursorType_Rect 2
  1279. #define MUIV_List_DestructHook_String -1
  1280.  
  1281.  
  1282. /****************************************************************************/
  1283. /** Floattext.mui 6.48 (26.10.93)                                          **/
  1284. /****************************************************************************/
  1285.  
  1286. #ifdef _DCC
  1287. extern char MUIC_Floattext[];
  1288. #else
  1289. #define MUIC_Floattext "Floattext.mui"
  1290. #endif
  1291.  
  1292. /* Attributes */
  1293.  
  1294. #define MUIA_Floattext_Justify          0x8042dc03 /* isg BOOL              */
  1295. #define MUIA_Floattext_SkipChars        0x80425c7d /* is. STRPTR            */
  1296. #define MUIA_Floattext_TabSize          0x80427d17 /* is. LONG              */
  1297. #define MUIA_Floattext_Text             0x8042d16a /* isg STRPTR            */
  1298.  
  1299.  
  1300.  
  1301. /****************************************************************************/
  1302. /** Volumelist.mui 6.50 (26.10.93)                                         **/
  1303. /****************************************************************************/
  1304.  
  1305. #ifdef _DCC
  1306. extern char MUIC_Volumelist[];
  1307. #else
  1308. #define MUIC_Volumelist "Volumelist.mui"
  1309. #endif
  1310.  
  1311.  
  1312. /****************************************************************************/
  1313. /** Scrmodelist.mui 6.15 (26.10.93)                                        **/
  1314. /****************************************************************************/
  1315.  
  1316. #ifdef _DCC
  1317. extern char MUIC_Scrmodelist[];
  1318. #else
  1319. #define MUIC_Scrmodelist "Scrmodelist.mui"
  1320. #endif
  1321.  
  1322. /* Attributes */
  1323.  
  1324.  
  1325.  
  1326.  
  1327. /****************************************************************************/
  1328. /** Dirlist.mui 6.48 (26.10.93)                                            **/
  1329. /****************************************************************************/
  1330.  
  1331. #ifdef _DCC
  1332. extern char MUIC_Dirlist[];
  1333. #else
  1334. #define MUIC_Dirlist "Dirlist.mui"
  1335. #endif
  1336.  
  1337. /* Methods */
  1338.  
  1339. #define MUIM_Dirlist_ReRead            0x80422d71
  1340.  
  1341. /* Attributes */
  1342.  
  1343. #define MUIA_Dirlist_AcceptPattern      0x8042760a /* is. STRPTR            */
  1344. #define MUIA_Dirlist_Directory          0x8042ea41 /* is. STRPTR            */
  1345. #define MUIA_Dirlist_DrawersOnly        0x8042b379 /* is. BOOL              */
  1346. #define MUIA_Dirlist_FilesOnly          0x8042896a /* is. BOOL              */
  1347. #define MUIA_Dirlist_FilterDrawers      0x80424ad2 /* is. BOOL              */
  1348. #define MUIA_Dirlist_FilterHook         0x8042ae19 /* is. struct Hook *     */
  1349. #define MUIA_Dirlist_MultiSelDirs       0x80428653 /* is. BOOL              */
  1350. #define MUIA_Dirlist_NumBytes           0x80429e26 /* ..g LONG              */
  1351. #define MUIA_Dirlist_NumDrawers         0x80429cb8 /* ..g LONG              */
  1352. #define MUIA_Dirlist_NumFiles           0x8042a6f0 /* ..g LONG              */
  1353. #define MUIA_Dirlist_Path               0x80426176 /* ..g STRPTR            */
  1354. #define MUIA_Dirlist_RejectIcons        0x80424808 /* is. BOOL              */
  1355. #define MUIA_Dirlist_RejectPattern      0x804259c7 /* is. STRPTR            */
  1356. #define MUIA_Dirlist_SortDirs           0x8042bbb9 /* is. LONG              */
  1357. #define MUIA_Dirlist_SortHighLow        0x80421896 /* is. BOOL              */
  1358. #define MUIA_Dirlist_SortType           0x804228bc /* is. LONG              */
  1359. #define MUIA_Dirlist_Status             0x804240de /* ..g LONG              */
  1360.  
  1361. #define MUIV_Dirlist_SortDirs_First 0
  1362. #define MUIV_Dirlist_SortDirs_Last 1
  1363. #define MUIV_Dirlist_SortDirs_Mix 2
  1364. #define MUIV_Dirlist_SortType_Name 0
  1365. #define MUIV_Dirlist_SortType_Date 1
  1366. #define MUIV_Dirlist_SortType_Size 2
  1367. #define MUIV_Dirlist_Status_Invalid 0
  1368. #define MUIV_Dirlist_Status_Reading 1
  1369. #define MUIV_Dirlist_Status_Valid 2
  1370.  
  1371.  
  1372. /****************************************************************************/
  1373. /** Group.mui 6.168 (26.10.93)                                             **/
  1374. /****************************************************************************/
  1375.  
  1376. #ifdef _DCC
  1377. extern char MUIC_Group[];
  1378. #else
  1379. #define MUIC_Group "Group.mui"
  1380. #endif
  1381.  
  1382. /* Methods */
  1383.  
  1384.  
  1385. /* Attributes */
  1386.  
  1387. #define MUIA_Group_ActivePage           0x80424199 /* isg LONG              */
  1388. #define MUIA_Group_Child                0x804226e6 /* i.. Object *          */
  1389. #define MUIA_Group_Columns              0x8042f416 /* is. LONG              */
  1390. #define MUIA_Group_Horiz                0x8042536b /* i.. BOOL              */
  1391. #define MUIA_Group_HorizSpacing         0x8042c651 /* is. LONG              */
  1392. #define MUIA_Group_PageMode             0x80421a5f /* is. BOOL              */
  1393. #define MUIA_Group_Rows                 0x8042b68f /* is. LONG              */
  1394. #define MUIA_Group_SameHeight           0x8042037e /* i.. BOOL              */
  1395. #define MUIA_Group_SameSize             0x80420860 /* i.. BOOL              */
  1396. #define MUIA_Group_SameWidth            0x8042b3ec /* i.. BOOL              */
  1397. #define MUIA_Group_Spacing              0x8042866d /* is. LONG              */
  1398. #define MUIA_Group_VertSpacing          0x8042e1bf /* is. LONG              */
  1399.  
  1400.  
  1401.  
  1402. /****************************************************************************/
  1403. /** Virtgroup.mui 6.42 (26.10.93)                                          **/
  1404. /****************************************************************************/
  1405.  
  1406. #ifdef _DCC
  1407. extern char MUIC_Virtgroup[];
  1408. #else
  1409. #define MUIC_Virtgroup "Virtgroup.mui"
  1410. #endif
  1411.  
  1412. /* Methods */
  1413.  
  1414.  
  1415. /* Attributes */
  1416.  
  1417. #define MUIA_Virtgroup_Height           0x80423038 /* ..g LONG              */
  1418. #define MUIA_Virtgroup_Left             0x80429371 /* isg LONG              */
  1419. #define MUIA_Virtgroup_Top              0x80425200 /* isg LONG              */
  1420. #define MUIA_Virtgroup_Width            0x80427c49 /* ..g LONG              */
  1421.  
  1422.  
  1423.  
  1424. /****************************************************************************/
  1425. /** Scrollgroup.mui 6.48 (26.10.93)                                        **/
  1426. /****************************************************************************/
  1427.  
  1428. #ifdef _DCC
  1429. extern char MUIC_Scrollgroup[];
  1430. #else
  1431. #define MUIC_Scrollgroup "Scrollgroup.mui"
  1432. #endif
  1433.  
  1434. /* Attributes */
  1435.  
  1436. #define MUIA_Scrollgroup_Contents       0x80421261 /* i.. Object *          */
  1437.  
  1438.  
  1439.  
  1440. /****************************************************************************/
  1441. /** Scrollbar.mui 6.52 (26.10.93)                                          **/
  1442. /****************************************************************************/
  1443.  
  1444. #ifdef _DCC
  1445. extern char MUIC_Scrollbar[];
  1446. #else
  1447. #define MUIC_Scrollbar "Scrollbar.mui"
  1448. #endif
  1449.  
  1450.  
  1451. /****************************************************************************/
  1452. /** Listview.mui 6.55 (26.10.93)                                           **/
  1453. /****************************************************************************/
  1454.  
  1455. #ifdef _DCC
  1456. extern char MUIC_Listview[];
  1457. #else
  1458. #define MUIC_Listview "Listview.mui"
  1459. #endif
  1460.  
  1461. /* Attributes */
  1462.  
  1463. #define MUIA_Listview_DoubleClick       0x80424635 /* i.g BOOL              */
  1464. #define MUIA_Listview_Input             0x8042682d /* i.. BOOL              */
  1465. #define MUIA_Listview_List              0x8042bcce /* i.. Object *          */
  1466. #define MUIA_Listview_MultiSelect       0x80427e08 /* i.. BOOL              */
  1467. #define MUIA_Listview_SelectChange      0x8042178f /* ..g BOOL              */
  1468.  
  1469.  
  1470.  
  1471. /****************************************************************************/
  1472. /** Radio.mui 6.45 (26.10.93)                                              **/
  1473. /****************************************************************************/
  1474.  
  1475. #ifdef _DCC
  1476. extern char MUIC_Radio[];
  1477. #else
  1478. #define MUIC_Radio "Radio.mui"
  1479. #endif
  1480.  
  1481. /* Attributes */
  1482.  
  1483. #define MUIA_Radio_Active               0x80429b41 /* isg LONG              */
  1484. #define MUIA_Radio_Entries              0x8042b6a1 /* i.. STRPTR *          */
  1485.  
  1486.  
  1487.  
  1488. /****************************************************************************/
  1489. /** Cycle.mui 6.68 (27.10.93)                                              **/
  1490. /****************************************************************************/
  1491.  
  1492. #ifdef _DCC
  1493. extern char MUIC_Cycle[];
  1494. #else
  1495. #define MUIC_Cycle "Cycle.mui"
  1496. #endif
  1497.  
  1498. /* Attributes */
  1499.  
  1500. #define MUIA_Cycle_Active               0x80421788 /* isg LONG              */
  1501. #define MUIA_Cycle_Entries              0x80420629 /* i.. STRPTR *          */
  1502.  
  1503. #define MUIV_Cycle_Active_Next -1
  1504. #define MUIV_Cycle_Active_Prev -2
  1505.  
  1506.  
  1507. /****************************************************************************/
  1508. /** Slider.mui 6.50 (26.10.93)                                             **/
  1509. /****************************************************************************/
  1510.  
  1511. #ifdef _DCC
  1512. extern char MUIC_Slider[];
  1513. #else
  1514. #define MUIC_Slider "Slider.mui"
  1515. #endif
  1516.  
  1517. /* Attributes */
  1518.  
  1519. #define MUIA_Slider_Level               0x8042ae3a /* isg LONG              */
  1520. #define MUIA_Slider_Max                 0x8042d78a /* i.. LONG              */
  1521. #define MUIA_Slider_Min                 0x8042e404 /* i.. LONG              */
  1522. #define MUIA_Slider_Quiet               0x80420b26 /* i.. BOOL              */
  1523.  
  1524.  
  1525.  
  1526. /****************************************************************************/
  1527. /** Coloradjust.mui 6.30 (26.10.93)                                        **/
  1528. /****************************************************************************/
  1529.  
  1530. #ifdef _DCC
  1531. extern char MUIC_Coloradjust[];
  1532. #else
  1533. #define MUIC_Coloradjust "Coloradjust.mui"
  1534. #endif
  1535.  
  1536. /* Attributes */
  1537.  
  1538. #define MUIA_Coloradjust_Blue           0x8042b8a3 /* isg ULONG             */
  1539. #define MUIA_Coloradjust_Green          0x804285ab /* isg ULONG             */
  1540. #define MUIA_Coloradjust_ModeID         0x8042ec59 /* isg ULONG             */
  1541. #define MUIA_Coloradjust_Red            0x80420eaa /* isg ULONG             */
  1542. #define MUIA_Coloradjust_RGB            0x8042f899 /* isg ULONG *           */
  1543.  
  1544.  
  1545.  
  1546. /****************************************************************************/
  1547. /** Palette.mui 6.21 (26.10.93)                                            **/
  1548. /****************************************************************************/
  1549.  
  1550. #ifdef _DCC
  1551. extern char MUIC_Palette[];
  1552. #else
  1553. #define MUIC_Palette "Palette.mui"
  1554. #endif
  1555.  
  1556. /* Attributes */
  1557.  
  1558. #define MUIA_Palette_Entries            0x8042a3d8 /* i.g struct MUI_Palette_Entry * */
  1559. #define MUIA_Palette_Groupable          0x80423e67 /* isg BOOL              */
  1560. #define MUIA_Palette_Names              0x8042c3a2 /* isg char **           */
  1561.  
  1562. #endif
  1563.